<?php
/**
 * Created by PhpStorm.
 * User: linhui
 * Date: 2016/12/14
 * Time: 1:55
 */
return array(
    'SESSION_TYPE' => 'Common\\Lib\\SessionRedis',
    'SESSION_AUTO_START' => true,
    'LOAD_EXT_CONFIG'=>'session,db,db-local,article,qiniu,website',//加载其他配置文件
    'DEFAULT_PAGE_SIZE'=>10,//默认分页条数
//    'DEFAULT_MODULE'        => 'Home', //默认模块
    'URL_MODEL' => 2,//URL模式
    'MODULE_ALLOW_LIST' =>array('Home', 'Admin', 'Mobile'),
    'MODULE_DENY_LIST'=>array('Common'),
    'BACKUP_PATH'=>'./Uploads/backup',

    'TMPL_PARSE_STRING' => array(
        '__STATIC__' => '/Public',
        '__PLUGIN__' => '/Public/plugin',
        '__STATIC_VERSION__' => date('YmdHis').'0003',
    ),
    'ERROR_PAGE'        => 'Home/Public/error404', //默认模块
    'PAGE_CONFIG'       => array(
        'header' => '<span class="rows">共 %TOTAL_ROW% 条记录</span>',
        'prev'   => '上一页',
        'next'   => '下一页',
        'first'  => '1',
        'last'   => '%TOTAL_PAGE%',
        'theme'  => '%FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END% %HEADER%',
    ),
);
